22. Exercise: GridView

GridViews in Widgets

In this exercise you will get to create a responsive design for the widget, changing the layout based on its size.
When the widget's width is larger than 300dp it will display a GridView of all the plants in the Garden, otherwise it will continue to display the single plant.

Exercise Code

Exercise: TWID.05-Exercise-GridView

Task Description:

Now it's your turn, follow the steps below to complete this exercise

Task List:

Task Feedback:

Well Done!

Solution: [TWID.05-Solution-GridView][Diff]

Solution Code

Solution: TWID.05-Solution-GridView